import { queryDept } from '@/services/order'

export default {
    namespace: 'order',
    state: {
        list: []
    },
    effects: {
        *getDeptTree({ payload }, { call, put }) {
            console.log(payload)
        }
    },
    reducers: {
        save(state, { payload }) {
            return { ...state, ...payload };
        }
    }
}
